package com.hzau.tourist_service_sys.service;

import com.hzau.tourist_service_sys.pojo.Complaint;
import com.hzau.tourist_service_sys.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.IOException;

public interface ComplaintService  {
    Result complaintInsert(Complaint complaint, long id) throws IOException;

    Result findAllComplaintByPage(Complaint complaint) throws FileNotFoundException;

    Result findComplaintById(long contentId);
    Result updateStatusById(long contentid,Integer status);
    Result replyUpdte(Complaint complaint);

    Result fileUpload(MultipartFile multipartFile) throws IOException;
}
